import store from "../store/calculatorStore"

// 此处为系统内的关于vuex的助手函数集合

class HelperFuc {
    checkIsAddStr(val:string){
   
        const len  = store.state.currentTotalStr.length
        const lastStr = store.state.currentTotalStr[len-1]

        if(lastStr === val){
         return true;
        }else{
         return false;
        }

     }
}

export default HelperFuc;